<!DOCTYPE html>
<html>
<head>
    <#import "../common/common.macro.ftl" as netCommon>
    <@netCommon.commonStyle />
    <title>${I18n.admin_name}</title>
    <link rel="stylesheet" href="${request.contextPath}/static/css/jvisio.css?v=7">
    <link rel="stylesheet" href="${request.contextPath}/static/layui/css/layui.css">
</head>
<#--<body>-->
<body class="hold-transition skin-blue sidebar-mini <#if cookieMap?exists && cookieMap["xxljob_adminlte_settings"]?exists && "off" == cookieMap["xxljob_adminlte_settings"].value >sidebar-collapse</#if>">
<div class="wrapper">
    <!-- header -->
    <@netCommon.commonHeader />
    <!-- left -->
    <@netCommon.commonLeft "jobNode" />
    <div class="content-wrapper">
        <div id="bgWrapper">

            <div id="folwMain">
                <div class="nodeTitle">
                    <div style="padding: 12px;">
                        <h3>重命名节点标题：</h3>
                        <input type="text" name="nodeTitle" placeholder="请输入节点标题" lay-verify="required"
                               placeholder="" autocomplete="off" class="layui-input"
                               style="margin:10px 0px;">
                        <div class="layui-layer-btn" style="padding:0;float: right;">
                            <button data-type="nodeSubmit"
                                    class="layui-btn layui-btn-sm layui-btn-primary layui-btn-event"
                                    style="margin:0;">保存
                            </button>
                            <button data-type="nodeClose"
                                    class="layui-btn layui-btn-sm layui-btn-primary layui-btn-event"
                                    style="margin:0;">关闭
                            </button>
                        </div>
                    </div>
                </div>

                <div class="layui-footer" style="position:absolute; bottom:-145px; left:50%; margin-left: -80px;">
                    <p style="color: red;">温馨提示：</p>
                    <p style="color: red;">1.节点不能删除、新增</p>
                    <p style="color: red;">2.双击线条-删除该线条</p>
                    <p style="color: red;">3.双击节点-删除该节点的所有连线</p>
                    <p style="color: red;">所有操作点击下方提交才保存哦</p>
                    <br>
                    <button data-type="submit" class="layui-btn layui-btn-event">提交</button>
                    <button data-type="reset" class="layui-btn layui-btn-primary layui-btn-event">刷新</button>
                </div>
            </div>

        </div>
    </div>
</div>

<!-- footer -->
<@netCommon.commonFooter />
</div>
<script>
    var base_url = '${request.contextPath}';
    var I18n = ${I18nUtil.getMultString()};
    var jobFlowId;
</script>
<script src="${request.contextPath}/static/js/jsPlumb/jquery-1.10.2.min.js"></script>
<script src="${request.contextPath}/static/js/jsPlumb/mustache.min.js"></script>
<script src="${request.contextPath}/static/js/jsPlumb/jquery-ui.min.js"></script>
<script src="${request.contextPath}/static/js/jsPlumb/jquery.jsPlumb-1.7.2.js"></script>
<script src="${request.contextPath}/static/js/jsPlumb/jvisio-config.js?v=9"></script>
<script src="${request.contextPath}/static/js/jsPlumb/jvisio-index.js?v=30"></script>
<script src="${request.contextPath}/static/js/layer/layer.min.js"></script>
<script type="text/x-mustache" id="jnode-template">
    <div class="jnode-panel" id="{{id}}" jnode="{{jnode}}" style="top:{{top}}px;left:{{left}}px">
        <div class="jnode-box {{jnodeClass}}">{{{jnodeHtml}}}</div>
    </div>
</script>


</body>
</html>